<!-- HTML header for doxygen 1.9.1-->
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    <meta name="generator" content="Doxygen 1.9.4" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>NumCpp: ReadMe.cpp</title>
    <link href="tabs.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="dynsections.js"></script>
    <link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
    <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="doxygen.css" rel="stylesheet" type="text/css" />
    <link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="doxygen-awesome-sidebar-only-darkmode-toggle.css" rel="stylesheet" type="text/css"/>
    <!-- ... other metadata & script includes ... -->
    <script type="text/javascript" src="../doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeDarkModeToggle.init()
    </script>
    <script type="text/javascript"
        src="../doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeFragmentCopyButton.init()
    </script>
    <script type="text/javascript" src="../doxygen-awesome-css/doxygen-awesome-paragraph-link.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeParagraphLink.init()
    </script>
    <script type="text/javascript" src="../doxygen-awesome-css/doxygen-awesome-interactive-toc.js"></script>
    <script type="text/javascript">
        DoxygenAwesomeInteractiveToc.init()
    </script>
</head>
<body>
    <div id="top">
        <!-- do not remove this div, it is closed by doxygen! -->
        <div id="titlearea">
            <table cellspacing="0" cellpadding="0">
                <tbody>
                    <tr style="height: 56px;">
                        <td id="projectlogo"><img alt="Logo" src="NumCppLogoDoxygen.png" /></td>
                        <td id="projectalign" style="padding-left: 0.5em;">
                            <div id="projectname">NumCpp
                                &#160;<span id="projectnumber">2.12.1</span>
                            </div>
                            <div id="projectbrief">A Templatized Header Only C++ Implementation of the Python NumPy Library</div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <!-- end header part --><!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('_read_me_8cpp-example.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle"><div class="title">ReadMe.cpp</div></div>
</div><!--header-->
<div class="contents">
<p >Examples from the Quick Start Guide in <a class="el" href="_r_e_a_d_m_e_8md.html">README.md</a> at <a href="https://github.com/dpilger26/NumCpp">GitHub Repository</a></p>
<div class="fragment"><div class="line"><span class="preprocessor">#include &quot;<a class="code" href="_num_cpp_8hpp.html">NumCpp.hpp</a>&quot;</span></div>
<div class="line"> </div>
<div class="line"><span class="preprocessor">#include &lt;filesystem&gt;</span></div>
<div class="line"><span class="preprocessor">#include &lt;iostream&gt;</span></div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">int</span> main()</div>
<div class="line">{</div>
<div class="line">    <span class="comment">// Containers</span></div>
<div class="line">    <a id="_a0" name="_a0"></a><a class="code hl_class" href="classnc_1_1_nd_array.html">nc::NdArray&lt;int&gt;</a> a0 = { { 1, 2 }, { 3, 4 } };</div>
<div class="line">    <a class="code hl_class" href="classnc_1_1_nd_array.html">nc::NdArray&lt;int&gt;</a> a1 = { { 1, 2 }, { 3, 4 }, { 5, 6 } };</div>
<div class="line">    a1.<a id="a1" name="a1"></a><a class="code hl_function" href="classnc_1_1_nd_array.html#a278bd507c3ebd9f1d9e30ca9d273a820">reshape</a>(2, 3);</div>
<div class="line">    <span class="keyword">auto</span> a2 = a1.<a id="a2" name="a2"></a><a class="code hl_function" href="classnc_1_1_nd_array.html#a637b1256589ea7e1da466e3406ffa280">astype</a>&lt;<span class="keywordtype">double</span>&gt;();</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Initializers</span></div>
<div class="line">    <span class="keyword">auto</span> a3 = nc::linspace&lt;int&gt;(1, 10, 5);</div>
<div class="line">    <span class="keyword">auto</span> a4 = nc::arange&lt;int&gt;(3, 7);</div>
<div class="line">    <span class="keyword">auto</span> a5 = nc::eye&lt;int&gt;(4);</div>
<div class="line">    <span class="keyword">auto</span> a6 = nc::zeros&lt;int&gt;(3, 4);</div>
<div class="line">    <span class="keyword">auto</span> a7 = <a class="code hl_class" href="classnc_1_1_nd_array.html">nc::NdArray&lt;int&gt;</a>(3, 4) = 0;</div>
<div class="line">    <span class="keyword">auto</span> a8                          = nc::ones&lt;int&gt;(3, 4);</div>
<div class="line">    <span class="keyword">auto</span> a9 = <a class="code hl_class" href="classnc_1_1_nd_array.html">nc::NdArray&lt;int&gt;</a>(3, 4) = 1;</div>
<div class="line">    <span class="keyword">auto</span> a10                         = <a id="a3" name="a3"></a><a class="code hl_function" href="namespacenc.html#a7fe697a62b8317499283141a0ccaa262">nc::nans</a>(3, 4);</div>
<div class="line">    <span class="keyword">auto</span> a11 = <a id="_a4" name="_a4"></a><a class="code hl_class" href="classnc_1_1_nd_array.html">nc::NdArray&lt;double&gt;</a>(3, 4) = <a id="a5" name="a5"></a><a class="code hl_variable" href="namespacenc_1_1constants.html#af94758715a9a5157d7ca95ab89d390ac">nc::constants::nan</a>;</div>
<div class="line">    <span class="keyword">auto</span> a12                             = nc::empty&lt;int&gt;(3, 4);</div>
<div class="line">    <span class="keyword">auto</span> a13                             = <a class="code hl_class" href="classnc_1_1_nd_array.html">nc::NdArray&lt;int&gt;</a>(3, 4);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Slicing/Broadcasting</span></div>
<div class="line">    <span class="keyword">auto</span>                  a14      = nc::random::randInt&lt;int&gt;({ 10, 10 }, 0, 100);</div>
<div class="line">    [[maybe_unused]] <span class="keyword">auto</span> value    = a14(2, 3);</div>
<div class="line">    <span class="keyword">auto</span>                  slice    = a14({ 2, 5 }, { 2, 5 });</div>
<div class="line">    <span class="keyword">auto</span>                  rowSlice = a14(a14.rSlice(), 7);</div>
<div class="line">    <span class="keyword">auto</span>                  values   = a14[a14 &gt; 50];</div>
<div class="line">    a14.putMask(a14 &gt; 50, 666);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// random</span></div>
<div class="line">    <a id="a6" name="a6"></a><a class="code hl_function" href="namespacenc_1_1random.html#ab7a11b67f4e9e18c7b01c7dc4db2fc71">nc::random::seed</a>(666);</div>
<div class="line">    <span class="keyword">auto</span> a15 = nc::random::randN&lt;double&gt;({ 3, 4 });</div>
<div class="line">    <span class="keyword">auto</span> a16 = nc::random::randInt&lt;int&gt;({ 3, 4 }, 0, 10);</div>
<div class="line">    <span class="keyword">auto</span> a17 = nc::random::rand&lt;double&gt;({ 3, 4 });</div>
<div class="line">    <span class="keyword">auto</span> a18 = <a id="a7" name="a7"></a><a class="code hl_function" href="namespacenc_1_1random.html#ad60ec32743642bd0540fec0076043fed">nc::random::choice</a>(a17, 3);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Concatenation</span></div>
<div class="line">    <span class="keyword">auto</span> a = nc::random::randInt&lt;int&gt;({ 3, 4 }, 0, 10);</div>
<div class="line">    <span class="keyword">auto</span> b = nc::random::randInt&lt;int&gt;({ 3, 4 }, 0, 10);</div>
<div class="line">    <span class="keyword">auto</span> <a id="a8" name="a8"></a><a class="code hl_variable" href="namespacenc_1_1constants.html#ac3fc62713ed109e451648c67faab7581">c</a> = nc::random::randInt&lt;int&gt;({ 3, 4 }, 0, 10);</div>
<div class="line"> </div>
<div class="line">    <span class="keyword">auto</span> a19 = <a id="a9" name="a9"></a><a class="code hl_function" href="namespacenc.html#abbb3b38779a9d5cc3f473eef1f914057">nc::stack</a>({ a, b, <a class="code hl_variable" href="namespacenc_1_1constants.html#ac3fc62713ed109e451648c67faab7581">c</a> }, <a id="a10" name="a10"></a><a class="code hl_enumvalue" href="namespacenc.html#a5edb9ac6f596ae1256faa3f5d797dc84a54c1ed33c810f895d48c008d89f880b7">nc::Axis::ROW</a>);</div>
<div class="line">    <span class="keyword">auto</span> a20 = <a id="a11" name="a11"></a><a class="code hl_function" href="namespacenc.html#afa75736fe6a9935a89cec98790084779">nc::vstack</a>({ a, b, <a class="code hl_variable" href="namespacenc_1_1constants.html#ac3fc62713ed109e451648c67faab7581">c</a> });</div>
<div class="line">    <span class="keyword">auto</span> a21 = <a id="a12" name="a12"></a><a class="code hl_function" href="namespacenc.html#aa5a0927210f0193fd7bbe40dc889b562">nc::hstack</a>({ a, b, <a class="code hl_variable" href="namespacenc_1_1constants.html#ac3fc62713ed109e451648c67faab7581">c</a> });</div>
<div class="line">    <span class="keyword">auto</span> a22 = <a id="a13" name="a13"></a><a class="code hl_function" href="namespacenc.html#aadf90a1e77b251c318146a945c75e908">nc::append</a>(a, b, <a id="a14" name="a14"></a><a class="code hl_enumvalue" href="namespacenc.html#a5edb9ac6f596ae1256faa3f5d797dc84aa44a065875f5d66d41474bb9bfb0ce05">nc::Axis::COL</a>);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Diagonal, Traingular, and Flip</span></div>
<div class="line">    <span class="keyword">auto</span> d   = nc::random::randInt&lt;int&gt;({ 5, 5 }, 0, 10);</div>
<div class="line">    <span class="keyword">auto</span> a23 = <a id="a15" name="a15"></a><a class="code hl_function" href="namespacenc.html#a2a758d39465793906d06e6f175feb688">nc::diagonal</a>(d);</div>
<div class="line">    <span class="keyword">auto</span> a24 = <a id="a16" name="a16"></a><a class="code hl_function" href="namespacenc.html#a05c4de5a2c55f32884dec4b1d5634a36">nc::triu</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a25 = <a id="a17" name="a17"></a><a class="code hl_function" href="namespacenc.html#a198857bb3bf09efffcc94e6aa3fbed87">nc::tril</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a26 = <a id="a18" name="a18"></a><a class="code hl_function" href="namespacenc.html#ac995fec009d93ce03c4d01eaebac6777">nc::flip</a>(d, <a class="code hl_enumvalue" href="namespacenc.html#a5edb9ac6f596ae1256faa3f5d797dc84a54c1ed33c810f895d48c008d89f880b7">nc::Axis::ROW</a>);</div>
<div class="line">    <span class="keyword">auto</span> a27 = <a id="a19" name="a19"></a><a class="code hl_function" href="namespacenc.html#a80b0beb8f175ed462a4073825c864a43">nc::flipud</a>(d);</div>
<div class="line">    <span class="keyword">auto</span> a28 = <a id="a20" name="a20"></a><a class="code hl_function" href="namespacenc.html#ae7e8fa957d0738dd2809980ac9fcb319">nc::fliplr</a>(d);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// iteration</span></div>
<div class="line">    <span class="keywordflow">for</span> (<span class="keyword">auto</span> it = a.begin(); it &lt; a.end(); ++it)</div>
<div class="line">    {</div>
<div class="line">        std::cout &lt;&lt; *it &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;</div>
<div class="line">    }</div>
<div class="line">    std::cout &lt;&lt; std::endl;</div>
<div class="line"> </div>
<div class="line">    <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; arrayValue : a)</div>
<div class="line">    {</div>
<div class="line">        std::cout &lt;&lt; arrayValue &lt;&lt; <span class="stringliteral">&quot; &quot;</span>;</div>
<div class="line">    }</div>
<div class="line">    std::cout &lt;&lt; std::endl;</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Logical</span></div>
<div class="line">    <span class="keyword">auto</span>                  a29 = <a id="a21" name="a21"></a><a class="code hl_function" href="namespacenc.html#a7a526300e6258fc6a008cfabc53d679c">nc::where</a>(a &gt; 5, a, b);</div>
<div class="line">    <span class="keyword">auto</span>                  a30 = <a id="a22" name="a22"></a><a class="code hl_function" href="namespacenc.html#a63fb1fcbd704d05af86df3ea355b82cc">nc::any</a>(a);</div>
<div class="line">    <span class="keyword">auto</span>                  a31 = <a id="a23" name="a23"></a><a class="code hl_function" href="namespacenc.html#aab02ff9e6ad434e1cc531c367fab11ac">nc::all</a>(a);</div>
<div class="line">    <span class="keyword">auto</span>                  a32 = <a id="a24" name="a24"></a><a class="code hl_function" href="namespacenc.html#a453e2ee3176ab6e44183872ff41a60e2">nc::logical_and</a>(a, b);</div>
<div class="line">    <span class="keyword">auto</span>                  a33 = <a id="a25" name="a25"></a><a class="code hl_function" href="namespacenc.html#a62d069e9c46eda68c15946a3fa74b1ab">nc::logical_or</a>(a, b);</div>
<div class="line">    <span class="keyword">auto</span>                  a34 = <a id="a26" name="a26"></a><a class="code hl_function" href="namespacenc.html#a81969bd9383c15d95e6b2150dac1eda5">nc::isclose</a>(a15, a17);</div>
<div class="line">    [[maybe_unused]] <span class="keyword">auto</span> a35 = <a id="a27" name="a27"></a><a class="code hl_function" href="namespacenc.html#ac2a107bb7ecfcf649c408069166ed1ea">nc::allclose</a>(a, b);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Comparisons</span></div>
<div class="line">    <span class="keyword">auto</span> a36 = <a id="a28" name="a28"></a><a class="code hl_function" href="namespacenc.html#a6891660e45d9f047bfc3a4625f4a255d">nc::equal</a>(a, b);</div>
<div class="line">    <span class="keyword">auto</span> a37 = a == b;</div>
<div class="line">    <span class="keyword">auto</span> a38 = <a id="a29" name="a29"></a><a class="code hl_function" href="namespacenc.html#a05f56f872438107587c8dea69950cf25">nc::not_equal</a>(a, b);</div>
<div class="line">    <span class="keyword">auto</span> a39 = a != b;</div>
<div class="line"> </div>
<div class="line"><span class="preprocessor">#ifdef __cpp_structured_bindings</span></div>
<div class="line">    <span class="keyword">auto</span> [rows, cols] = <a id="a30" name="a30"></a><a class="code hl_function" href="namespacenc.html#a291d0ac850232def29be8cc885fd0053">nc::nonzero</a>(a);</div>
<div class="line"><span class="preprocessor">#else</span></div>
<div class="line">    <span class="keyword">auto</span>  rowsCols = <a class="code hl_function" href="namespacenc.html#a291d0ac850232def29be8cc885fd0053">nc::nonzero</a>(a);</div>
<div class="line">    <span class="keyword">auto</span>&amp; rows     = rowsCols.first;</div>
<div class="line">    <span class="keyword">auto</span>&amp; cols     = rowsCols.second;</div>
<div class="line"><span class="preprocessor">#endif</span></div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Minimum, Maximum, Sorting</span></div>
<div class="line">    <span class="keyword">auto</span> value1 = <a id="a31" name="a31"></a><a class="code hl_function" href="namespacenc.html#a10ee4cd59b844c5dd99106a5dee12009">nc::min</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> value2 = <a id="a32" name="a32"></a><a class="code hl_function" href="namespacenc.html#af37a6766f3bd9a7f83d32834d2a699b1">nc::max</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> value3 = <a id="a33" name="a33"></a><a class="code hl_function" href="namespacenc.html#acbeede146d32768e2c0a136eabd8bff8">nc::argmin</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> value4 = <a id="a34" name="a34"></a><a class="code hl_function" href="namespacenc.html#a9bd808dce04134c3a70d0cb202f94464">nc::argmax</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a41    = <a id="a35" name="a35"></a><a class="code hl_function" href="namespacenc.html#a3c24c68959c609535bc8ae6a33f54d49">nc::sort</a>(a, <a class="code hl_enumvalue" href="namespacenc.html#a5edb9ac6f596ae1256faa3f5d797dc84a54c1ed33c810f895d48c008d89f880b7">nc::Axis::ROW</a>);</div>
<div class="line">    <span class="keyword">auto</span> a42    = <a id="a36" name="a36"></a><a class="code hl_function" href="namespacenc.html#a2cc9510519d4d8ff92c3be56f1675ad3">nc::argsort</a>(a, <a class="code hl_enumvalue" href="namespacenc.html#a5edb9ac6f596ae1256faa3f5d797dc84aa44a065875f5d66d41474bb9bfb0ce05">nc::Axis::COL</a>);</div>
<div class="line">    <span class="keyword">auto</span> a43    = <a id="a37" name="a37"></a><a class="code hl_function" href="namespacenc.html#a8b346bcf0083d2b809c83bb0433800de">nc::unique</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a44    = <a id="a38" name="a38"></a><a class="code hl_function" href="namespacenc.html#ac02087737cabe80234ec24c3cb5c70ea">nc::setdiff1d</a>(a, b);</div>
<div class="line">    <span class="keyword">auto</span> a45    = <a id="a39" name="a39"></a><a class="code hl_function" href="namespacenc.html#a943a802bfe6ecf2984c0ce56577f252f">nc::diff</a>(a);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Reducers</span></div>
<div class="line">    <span class="keyword">auto</span> value5 = nc::sum&lt;int&gt;(a);</div>
<div class="line">    <span class="keyword">auto</span> a46    = nc::sum&lt;int&gt;(a, <a class="code hl_enumvalue" href="namespacenc.html#a5edb9ac6f596ae1256faa3f5d797dc84a54c1ed33c810f895d48c008d89f880b7">nc::Axis::ROW</a>);</div>
<div class="line">    <span class="keyword">auto</span> value6 = nc::prod&lt;int&gt;(a);</div>
<div class="line">    <span class="keyword">auto</span> a47    = nc::prod&lt;int&gt;(a, <a class="code hl_enumvalue" href="namespacenc.html#a5edb9ac6f596ae1256faa3f5d797dc84a54c1ed33c810f895d48c008d89f880b7">nc::Axis::ROW</a>);</div>
<div class="line">    <span class="keyword">auto</span> value7 = <a id="a40" name="a40"></a><a class="code hl_function" href="namespacenc.html#a2740b304fc854a6595195dafcf3dcf89">nc::mean</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a48    = <a class="code hl_function" href="namespacenc.html#a2740b304fc854a6595195dafcf3dcf89">nc::mean</a>(a, <a class="code hl_enumvalue" href="namespacenc.html#a5edb9ac6f596ae1256faa3f5d797dc84a54c1ed33c810f895d48c008d89f880b7">nc::Axis::ROW</a>);</div>
<div class="line">    <span class="keyword">auto</span> value8 = <a id="a41" name="a41"></a><a class="code hl_function" href="namespacenc.html#aac312a24799da39c6cb6960f07812111">nc::count_nonzero</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a49    = <a class="code hl_function" href="namespacenc.html#aac312a24799da39c6cb6960f07812111">nc::count_nonzero</a>(a, <a class="code hl_enumvalue" href="namespacenc.html#a5edb9ac6f596ae1256faa3f5d797dc84a54c1ed33c810f895d48c008d89f880b7">nc::Axis::ROW</a>);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// I/O</span></div>
<div class="line">    a.print();</div>
<div class="line">    std::cout &lt;&lt; a &lt;&lt; std::endl;</div>
<div class="line"> </div>
<div class="line">    <span class="keyword">auto</span> tempDir = std::filesystem::temp_directory_path();</div>
<div class="line">    <span class="keyword">auto</span> tempTxt = (tempDir / <span class="stringliteral">&quot;temp.txt&quot;</span>).<span class="keywordtype">string</span>();</div>
<div class="line">    a.tofile(tempTxt, <span class="charliteral">&#39;\n&#39;</span>);</div>
<div class="line">    <span class="keyword">auto</span> a50 = nc::fromfile&lt;int&gt;(tempTxt, <span class="charliteral">&#39;\n&#39;</span>);</div>
<div class="line"> </div>
<div class="line">    <span class="keyword">auto</span> tempBin = (tempDir / <span class="stringliteral">&quot;temp.bin&quot;</span>).<span class="keywordtype">string</span>();</div>
<div class="line">    <a id="a42" name="a42"></a><a class="code hl_function" href="namespacenc.html#af6e71bd96dbc78f9ca018d2da0a7e653">nc::dump</a>(a, tempBin);</div>
<div class="line">    <span class="keyword">auto</span> a51 = nc::load&lt;int&gt;(tempBin);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Mathematical Functions</span></div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Basic Functions</span></div>
<div class="line">    <span class="keyword">auto</span> a52 = <a id="a43" name="a43"></a><a class="code hl_function" href="namespacenc.html#a6c2c40c4efcd5018f84f9aca0c03c29d">nc::abs</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a53 = <a id="a44" name="a44"></a><a class="code hl_function" href="namespacenc.html#a4a5d98f334e0b50a3cf9c2718485e5e9">nc::sign</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a54 = <a id="a45" name="a45"></a><a class="code hl_function" href="namespacenc.html#a12bfc5b4d937aa0366b70fb15270bd41">nc::remainder</a>(a, b);</div>
<div class="line">    <span class="keyword">auto</span> a55 = <a id="a46" name="a46"></a><a class="code hl_function" href="namespacenc.html#a5200696e06dadf4eca2f0d7332ed4af1">nc::clip</a>(a, 3, 8);</div>
<div class="line">    <span class="keyword">auto</span> xp  = nc::linspace&lt;double&gt;(0.0, 2.0 * <a id="a47" name="a47"></a><a class="code hl_variable" href="namespacenc_1_1constants.html#a2f1219a120c9cc1434486d9de75a8221">nc::constants::pi</a>, 100);</div>
<div class="line">    <span class="keyword">auto</span> fp  = <a id="a48" name="a48"></a><a class="code hl_function" href="namespacenc.html#a3fa4e582cdeef0716309ad51378f2983">nc::sin</a>(xp);</div>
<div class="line">    <span class="keyword">auto</span> x   = nc::linspace&lt;double&gt;(0.0, 2.0 * <a class="code hl_variable" href="namespacenc_1_1constants.html#a2f1219a120c9cc1434486d9de75a8221">nc::constants::pi</a>, 1000);</div>
<div class="line">    <span class="keyword">auto</span> <a id="a49" name="a49"></a><a class="code hl_function" href="namespacenc_1_1random_1_1detail.html#af5bfd54c6d5d0ad7e16e6e532b0dfb2e">f</a>   = <a id="a50" name="a50"></a><a class="code hl_function" href="namespacenc.html#a5b9584eeac344f9d37beb6be475300ca">nc::interp</a>(x, xp, fp);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Exponential Functions</span></div>
<div class="line">    <span class="keyword">auto</span> a56 = <a id="a51" name="a51"></a><a class="code hl_function" href="namespacenc.html#ad7e555d480465930a7ac44f4ab39eea7">nc::exp</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a57 = <a id="a52" name="a52"></a><a class="code hl_function" href="namespacenc.html#a1f8b7ba3bb64b868fc41508d6912afab">nc::expm1</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a58 = <a id="a53" name="a53"></a><a class="code hl_function" href="namespacenc.html#a3f08d373ae167ac90d3bb6b6c4da0fb9">nc::log</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a59 = <a id="a54" name="a54"></a><a class="code hl_function" href="namespacenc.html#a5abcc8523a49a47fd2224d5588f128b4">nc::log1p</a>(a);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Power Functions</span></div>
<div class="line">    <span class="keyword">auto</span> a60 = nc::power&lt;int&gt;(a, 4);</div>
<div class="line">    <span class="keyword">auto</span> a61 = <a id="a55" name="a55"></a><a class="code hl_function" href="namespacenc.html#a941a5a1ffb61387495a6f23dc4036287">nc::sqrt</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a62 = <a id="a56" name="a56"></a><a class="code hl_function" href="namespacenc.html#a282e72a93afe2e6554e0f17f21dd7b9e">nc::square</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a63 = <a id="a57" name="a57"></a><a class="code hl_function" href="namespacenc.html#a21de0caa1ff8e9e7baed8a8a57f7bcab">nc::cbrt</a>(a);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Trigonometric Functions</span></div>
<div class="line">    <span class="keyword">auto</span> a64 = <a class="code hl_function" href="namespacenc.html#a3fa4e582cdeef0716309ad51378f2983">nc::sin</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a65 = <a id="a58" name="a58"></a><a class="code hl_function" href="namespacenc.html#a736de91eb8f79bfaf4dc92d7161f1c87">nc::cos</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a66 = <a id="a59" name="a59"></a><a class="code hl_function" href="namespacenc.html#a50d3734603bda1d991baf0696a4b96ce">nc::tan</a>(a);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Hyperbolic Functions</span></div>
<div class="line">    <span class="keyword">auto</span> a67 = <a id="a60" name="a60"></a><a class="code hl_function" href="namespacenc.html#a7672779bec72183de09ddc469739b385">nc::sinh</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a68 = <a id="a61" name="a61"></a><a class="code hl_function" href="namespacenc.html#abb07133a1f54b24a4a4986eefb5eda85">nc::cosh</a>(a);</div>
<div class="line">    <span class="keyword">auto</span> a69 = <a id="a62" name="a62"></a><a class="code hl_function" href="namespacenc.html#a3d75639028d96fe20286a82740361c6e">nc::tanh</a>(a);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Classification Functions</span></div>
<div class="line">    <span class="keyword">auto</span> a70 = <a id="a63" name="a63"></a><a class="code hl_function" href="namespacenc.html#ac28569da874c0b37a4c50c86b31a98ab">nc::isnan</a>(a.astype&lt;<span class="keywordtype">double</span>&gt;());</div>
<div class="line">    <span class="comment">// nc::isinf(a);</span></div>
<div class="line"> </div>
<div class="line">    <span class="comment">// Linear Algebra</span></div>
<div class="line">    <span class="keyword">auto</span> a71 = nc::norm&lt;int&gt;(a);</div>
<div class="line">    <span class="keyword">auto</span> a72 = nc::dot&lt;int&gt;(a, b.transpose());</div>
<div class="line"> </div>
<div class="line">    <span class="keyword">auto</span>                  a73    = nc::random::randInt&lt;int&gt;({ 3, 3 }, 0, 10);</div>
<div class="line">    <span class="keyword">auto</span>                  a74    = nc::random::randInt&lt;int&gt;({ 4, 3 }, 0, 10);</div>
<div class="line">    <span class="keyword">auto</span>                  a75    = nc::random::randInt&lt;int&gt;({ 1, 4 }, 0, 10);</div>
<div class="line">    [[maybe_unused]] <span class="keyword">auto</span> value9 = <a id="a64" name="a64"></a><a class="code hl_function" href="namespacenc_1_1linalg.html#a560873e98ef9b3d8da501ad6feb121e9">nc::linalg::det</a>(a73);</div>
<div class="line">    <span class="keyword">auto</span>                  a76    = <a id="a65" name="a65"></a><a class="code hl_function" href="namespacenc_1_1linalg.html#a2eeb58d0a34e50e79fcfe59f71c61b4d">nc::linalg::inv</a>(a73);</div>
<div class="line">    <span class="keyword">auto</span>                  a77    = <a id="a66" name="a66"></a><a class="code hl_function" href="namespacenc_1_1linalg.html#a8baf25f50874e4bd27d2644a2730fb03">nc::linalg::lstsq</a>(a74, a75);</div>
<div class="line">    <span class="keyword">auto</span>                  a78    = nc::linalg::matrix_power&lt;int&gt;(a73, 3);</div>
<div class="line">    <span class="keyword">auto</span>                  a79    = nc::linalg::multi_dot&lt;int&gt;({ a, b.transpose(), <a class="code hl_variable" href="namespacenc_1_1constants.html#ac3fc62713ed109e451648c67faab7581">c</a> });</div>
<div class="line"> </div>
<div class="line">    <a class="code hl_class" href="classnc_1_1_nd_array.html">nc::NdArray&lt;double&gt;</a> u;</div>
<div class="line">    <a class="code hl_class" href="classnc_1_1_nd_array.html">nc::NdArray&lt;double&gt;</a> s;</div>
<div class="line">    <a class="code hl_class" href="classnc_1_1_nd_array.html">nc::NdArray&lt;double&gt;</a> vt;</div>
<div class="line">    <a id="a67" name="a67"></a><a class="code hl_function" href="namespacenc_1_1linalg.html#acb38ad2613d50422afc539d005159055">nc::linalg::svd</a>(a.astype&lt;<span class="keywordtype">double</span>&gt;(), u, s, vt);</div>
<div class="line"> </div>
<div class="line">    <span class="keywordflow">return</span> 0;</div>
<div class="line">}</div>
<div class="ttc" id="a_num_cpp_8hpp_html"><div class="ttname"><a href="_num_cpp_8hpp.html">NumCpp.hpp</a></div></div>
<div class="ttc" id="aclassnc_1_1_nd_array_html"><div class="ttname"><a href="classnc_1_1_nd_array.html">nc::NdArray</a></div><div class="ttdoc">Holds 1D and 2D arrays, the main work horse of the NumCpp library.</div><div class="ttdef"><b>Definition:</b> NdArrayCore.hpp:139</div></div>
<div class="ttc" id="aclassnc_1_1_nd_array_html_a278bd507c3ebd9f1d9e30ca9d273a820"><div class="ttname"><a href="classnc_1_1_nd_array.html#a278bd507c3ebd9f1d9e30ca9d273a820">nc::NdArray::reshape</a></div><div class="ttdeci">self_type &amp; reshape(size_type inSize)</div><div class="ttdef"><b>Definition:</b> NdArrayCore.hpp:4271</div></div>
<div class="ttc" id="aclassnc_1_1_nd_array_html_a637b1256589ea7e1da466e3406ffa280"><div class="ttname"><a href="classnc_1_1_nd_array.html#a637b1256589ea7e1da466e3406ffa280">nc::NdArray::astype</a></div><div class="ttdeci">NdArray&lt; dtypeOut &gt; astype() const</div><div class="ttdef"><b>Definition:</b> NdArrayCore.hpp:2181</div></div>
<div class="ttc" id="anamespacenc_1_1constants_html_a2f1219a120c9cc1434486d9de75a8221"><div class="ttname"><a href="namespacenc_1_1constants.html#a2f1219a120c9cc1434486d9de75a8221">nc::constants::pi</a></div><div class="ttdeci">constexpr double pi</div><div class="ttdoc">Pi.</div><div class="ttdef"><b>Definition:</b> Core/Constants.hpp:39</div></div>
<div class="ttc" id="anamespacenc_1_1constants_html_ac3fc62713ed109e451648c67faab7581"><div class="ttname"><a href="namespacenc_1_1constants.html#ac3fc62713ed109e451648c67faab7581">nc::constants::c</a></div><div class="ttdeci">constexpr double c</div><div class="ttdoc">speed of light</div><div class="ttdef"><b>Definition:</b> Core/Constants.hpp:36</div></div>
<div class="ttc" id="anamespacenc_1_1constants_html_af94758715a9a5157d7ca95ab89d390ac"><div class="ttname"><a href="namespacenc_1_1constants.html#af94758715a9a5157d7ca95ab89d390ac">nc::constants::nan</a></div><div class="ttdeci">const double nan</div><div class="ttdoc">NaN.</div><div class="ttdef"><b>Definition:</b> Core/Constants.hpp:41</div></div>
<div class="ttc" id="anamespacenc_1_1linalg_html_a2eeb58d0a34e50e79fcfe59f71c61b4d"><div class="ttname"><a href="namespacenc_1_1linalg.html#a2eeb58d0a34e50e79fcfe59f71c61b4d">nc::linalg::inv</a></div><div class="ttdeci">NdArray&lt; double &gt; inv(const NdArray&lt; dtype &gt; &amp;inArray)</div><div class="ttdef"><b>Definition:</b> inv.hpp:54</div></div>
<div class="ttc" id="anamespacenc_1_1linalg_html_a560873e98ef9b3d8da501ad6feb121e9"><div class="ttname"><a href="namespacenc_1_1linalg.html#a560873e98ef9b3d8da501ad6feb121e9">nc::linalg::det</a></div><div class="ttdeci">auto det(const NdArray&lt; dtype &gt; &amp;inArray)</div><div class="ttdef"><b>Definition:</b> det.hpp:131</div></div>
<div class="ttc" id="anamespacenc_1_1linalg_html_a8baf25f50874e4bd27d2644a2730fb03"><div class="ttname"><a href="namespacenc_1_1linalg.html#a8baf25f50874e4bd27d2644a2730fb03">nc::linalg::lstsq</a></div><div class="ttdeci">NdArray&lt; double &gt; lstsq(const NdArray&lt; dtype &gt; &amp;inA, const NdArray&lt; dtype &gt; &amp;inB, double inTolerance=1e-12)</div><div class="ttdef"><b>Definition:</b> lstsq.hpp:57</div></div>
<div class="ttc" id="anamespacenc_1_1linalg_html_acb38ad2613d50422afc539d005159055"><div class="ttname"><a href="namespacenc_1_1linalg.html#acb38ad2613d50422afc539d005159055">nc::linalg::svd</a></div><div class="ttdeci">void svd(const NdArray&lt; dtype &gt; &amp;inArray, NdArray&lt; double &gt; &amp;outU, NdArray&lt; double &gt; &amp;outS, NdArray&lt; double &gt; &amp;outVt)</div><div class="ttdef"><b>Definition:</b> svd.hpp:51</div></div>
<div class="ttc" id="anamespacenc_1_1random_1_1detail_html_af5bfd54c6d5d0ad7e16e6e532b0dfb2e"><div class="ttname"><a href="namespacenc_1_1random_1_1detail.html#af5bfd54c6d5d0ad7e16e6e532b0dfb2e">nc::random::detail::f</a></div><div class="ttdeci">dtype f(GeneratorType &amp;generator, dtype inDofN, dtype inDofD)</div><div class="ttdef"><b>Definition:</b> f.hpp:56</div></div>
<div class="ttc" id="anamespacenc_1_1random_html_ab7a11b67f4e9e18c7b01c7dc4db2fc71"><div class="ttname"><a href="namespacenc_1_1random.html#ab7a11b67f4e9e18c7b01c7dc4db2fc71">nc::random::seed</a></div><div class="ttdeci">void seed(int inSeed)</div><div class="ttdef"><b>Definition:</b> generator.hpp:46</div></div>
<div class="ttc" id="anamespacenc_1_1random_html_ad60ec32743642bd0540fec0076043fed"><div class="ttname"><a href="namespacenc_1_1random.html#ad60ec32743642bd0540fec0076043fed">nc::random::choice</a></div><div class="ttdeci">dtype choice(const NdArray&lt; dtype &gt; &amp;inArray)</div><div class="ttdef"><b>Definition:</b> choice.hpp:102</div></div>
<div class="ttc" id="anamespacenc_html_a05c4de5a2c55f32884dec4b1d5634a36"><div class="ttname"><a href="namespacenc.html#a05c4de5a2c55f32884dec4b1d5634a36">nc::triu</a></div><div class="ttdeci">NdArray&lt; dtype &gt; triu(uint32 inN, uint32 inM, int32 inOffset=0)</div><div class="ttdef"><b>Definition:</b> tri.hpp:175</div></div>
<div class="ttc" id="anamespacenc_html_a05f56f872438107587c8dea69950cf25"><div class="ttname"><a href="namespacenc.html#a05f56f872438107587c8dea69950cf25">nc::not_equal</a></div><div class="ttdeci">NdArray&lt; bool &gt; not_equal(const NdArray&lt; dtype &gt; &amp;inArray1, const NdArray&lt; dtype &gt; &amp;inArray2)</div><div class="ttdef"><b>Definition:</b> not_equal.hpp:46</div></div>
<div class="ttc" id="anamespacenc_html_a10ee4cd59b844c5dd99106a5dee12009"><div class="ttname"><a href="namespacenc.html#a10ee4cd59b844c5dd99106a5dee12009">nc::min</a></div><div class="ttdeci">NdArray&lt; dtype &gt; min(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> min.hpp:44</div></div>
<div class="ttc" id="anamespacenc_html_a12bfc5b4d937aa0366b70fb15270bd41"><div class="ttname"><a href="namespacenc.html#a12bfc5b4d937aa0366b70fb15270bd41">nc::remainder</a></div><div class="ttdeci">double remainder(dtype inValue1, dtype inValue2) noexcept</div><div class="ttdef"><b>Definition:</b> remainder.hpp:53</div></div>
<div class="ttc" id="anamespacenc_html_a198857bb3bf09efffcc94e6aa3fbed87"><div class="ttname"><a href="namespacenc.html#a198857bb3bf09efffcc94e6aa3fbed87">nc::tril</a></div><div class="ttdeci">NdArray&lt; dtype &gt; tril(uint32 inN, int32 inOffset=0)</div><div class="ttdef"><b>Definition:</b> tri.hpp:50</div></div>
<div class="ttc" id="anamespacenc_html_a1f8b7ba3bb64b868fc41508d6912afab"><div class="ttname"><a href="namespacenc.html#a1f8b7ba3bb64b868fc41508d6912afab">nc::expm1</a></div><div class="ttdeci">auto expm1(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> expm1.hpp:48</div></div>
<div class="ttc" id="anamespacenc_html_a21de0caa1ff8e9e7baed8a8a57f7bcab"><div class="ttname"><a href="namespacenc.html#a21de0caa1ff8e9e7baed8a8a57f7bcab">nc::cbrt</a></div><div class="ttdeci">double cbrt(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> cbrt.hpp:48</div></div>
<div class="ttc" id="anamespacenc_html_a2740b304fc854a6595195dafcf3dcf89"><div class="ttname"><a href="namespacenc.html#a2740b304fc854a6595195dafcf3dcf89">nc::mean</a></div><div class="ttdeci">NdArray&lt; double &gt; mean(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> mean.hpp:52</div></div>
<div class="ttc" id="anamespacenc_html_a282e72a93afe2e6554e0f17f21dd7b9e"><div class="ttname"><a href="namespacenc.html#a282e72a93afe2e6554e0f17f21dd7b9e">nc::square</a></div><div class="ttdeci">constexpr dtype square(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> square.hpp:47</div></div>
<div class="ttc" id="anamespacenc_html_a291d0ac850232def29be8cc885fd0053"><div class="ttname"><a href="namespacenc.html#a291d0ac850232def29be8cc885fd0053">nc::nonzero</a></div><div class="ttdeci">std::pair&lt; NdArray&lt; uint32 &gt;, NdArray&lt; uint32 &gt; &gt; nonzero(const NdArray&lt; dtype &gt; &amp;inArray)</div><div class="ttdef"><b>Definition:</b> nonzero.hpp:48</div></div>
<div class="ttc" id="anamespacenc_html_a2a758d39465793906d06e6f175feb688"><div class="ttname"><a href="namespacenc.html#a2a758d39465793906d06e6f175feb688">nc::diagonal</a></div><div class="ttdeci">NdArray&lt; dtype &gt; diagonal(const NdArray&lt; dtype &gt; &amp;inArray, int32 inOffset=0, Axis inAxis=Axis::ROW)</div><div class="ttdef"><b>Definition:</b> diagonal.hpp:47</div></div>
<div class="ttc" id="anamespacenc_html_a2cc9510519d4d8ff92c3be56f1675ad3"><div class="ttname"><a href="namespacenc.html#a2cc9510519d4d8ff92c3be56f1675ad3">nc::argsort</a></div><div class="ttdeci">NdArray&lt; uint32 &gt; argsort(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> argsort.hpp:46</div></div>
<div class="ttc" id="anamespacenc_html_a3c24c68959c609535bc8ae6a33f54d49"><div class="ttname"><a href="namespacenc.html#a3c24c68959c609535bc8ae6a33f54d49">nc::sort</a></div><div class="ttdeci">NdArray&lt; dtype &gt; sort(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> sort.hpp:46</div></div>
<div class="ttc" id="anamespacenc_html_a3d75639028d96fe20286a82740361c6e"><div class="ttname"><a href="namespacenc.html#a3d75639028d96fe20286a82740361c6e">nc::tanh</a></div><div class="ttdeci">auto tanh(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> tanh.hpp:49</div></div>
<div class="ttc" id="anamespacenc_html_a3f08d373ae167ac90d3bb6b6c4da0fb9"><div class="ttname"><a href="namespacenc.html#a3f08d373ae167ac90d3bb6b6c4da0fb9">nc::log</a></div><div class="ttdeci">auto log(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> log.hpp:50</div></div>
<div class="ttc" id="anamespacenc_html_a3fa4e582cdeef0716309ad51378f2983"><div class="ttname"><a href="namespacenc.html#a3fa4e582cdeef0716309ad51378f2983">nc::sin</a></div><div class="ttdeci">auto sin(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> sin.hpp:49</div></div>
<div class="ttc" id="anamespacenc_html_a453e2ee3176ab6e44183872ff41a60e2"><div class="ttname"><a href="namespacenc.html#a453e2ee3176ab6e44183872ff41a60e2">nc::logical_and</a></div><div class="ttdeci">NdArray&lt; bool &gt; logical_and(const NdArray&lt; dtype &gt; &amp;inArray1, const NdArray&lt; dtype &gt; &amp;inArray2)</div><div class="ttdef"><b>Definition:</b> logical_and.hpp:50</div></div>
<div class="ttc" id="anamespacenc_html_a4a5d98f334e0b50a3cf9c2718485e5e9"><div class="ttname"><a href="namespacenc.html#a4a5d98f334e0b50a3cf9c2718485e5e9">nc::sign</a></div><div class="ttdeci">int8 sign(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> sign.hpp:52</div></div>
<div class="ttc" id="anamespacenc_html_a50d3734603bda1d991baf0696a4b96ce"><div class="ttname"><a href="namespacenc.html#a50d3734603bda1d991baf0696a4b96ce">nc::tan</a></div><div class="ttdeci">auto tan(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> tan.hpp:49</div></div>
<div class="ttc" id="anamespacenc_html_a5200696e06dadf4eca2f0d7332ed4af1"><div class="ttname"><a href="namespacenc.html#a5200696e06dadf4eca2f0d7332ed4af1">nc::clip</a></div><div class="ttdeci">dtype clip(dtype inValue, dtype inMinValue, dtype inMaxValue)</div><div class="ttdef"><b>Definition:</b> clip.hpp:50</div></div>
<div class="ttc" id="anamespacenc_html_a5abcc8523a49a47fd2224d5588f128b4"><div class="ttname"><a href="namespacenc.html#a5abcc8523a49a47fd2224d5588f128b4">nc::log1p</a></div><div class="ttdeci">auto log1p(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> log1p.hpp:51</div></div>
<div class="ttc" id="anamespacenc_html_a5b9584eeac344f9d37beb6be475300ca"><div class="ttname"><a href="namespacenc.html#a5b9584eeac344f9d37beb6be475300ca">nc::interp</a></div><div class="ttdeci">constexpr double interp(dtype inValue1, dtype inValue2, double inPercent) noexcept</div><div class="ttdef"><b>Definition:</b> Functions/interp.hpp:48</div></div>
<div class="ttc" id="anamespacenc_html_a5edb9ac6f596ae1256faa3f5d797dc84a54c1ed33c810f895d48c008d89f880b7"><div class="ttname"><a href="namespacenc.html#a5edb9ac6f596ae1256faa3f5d797dc84a54c1ed33c810f895d48c008d89f880b7">nc::Axis::ROW</a></div><div class="ttdeci">@ ROW</div></div>
<div class="ttc" id="anamespacenc_html_a5edb9ac6f596ae1256faa3f5d797dc84aa44a065875f5d66d41474bb9bfb0ce05"><div class="ttname"><a href="namespacenc.html#a5edb9ac6f596ae1256faa3f5d797dc84aa44a065875f5d66d41474bb9bfb0ce05">nc::Axis::COL</a></div><div class="ttdeci">@ COL</div></div>
<div class="ttc" id="anamespacenc_html_a62d069e9c46eda68c15946a3fa74b1ab"><div class="ttname"><a href="namespacenc.html#a62d069e9c46eda68c15946a3fa74b1ab">nc::logical_or</a></div><div class="ttdeci">NdArray&lt; bool &gt; logical_or(const NdArray&lt; dtype &gt; &amp;inArray1, const NdArray&lt; dtype &gt; &amp;inArray2)</div><div class="ttdef"><b>Definition:</b> logical_or.hpp:50</div></div>
<div class="ttc" id="anamespacenc_html_a63fb1fcbd704d05af86df3ea355b82cc"><div class="ttname"><a href="namespacenc.html#a63fb1fcbd704d05af86df3ea355b82cc">nc::any</a></div><div class="ttdeci">NdArray&lt; bool &gt; any(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> any.hpp:46</div></div>
<div class="ttc" id="anamespacenc_html_a6891660e45d9f047bfc3a4625f4a255d"><div class="ttname"><a href="namespacenc.html#a6891660e45d9f047bfc3a4625f4a255d">nc::equal</a></div><div class="ttdeci">NdArray&lt; bool &gt; equal(const NdArray&lt; dtype &gt; &amp;inArray1, const NdArray&lt; dtype &gt; &amp;inArray2)</div><div class="ttdef"><b>Definition:</b> equal.hpp:45</div></div>
<div class="ttc" id="anamespacenc_html_a6c2c40c4efcd5018f84f9aca0c03c29d"><div class="ttname"><a href="namespacenc.html#a6c2c40c4efcd5018f84f9aca0c03c29d">nc::abs</a></div><div class="ttdeci">auto abs(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> abs.hpp:49</div></div>
<div class="ttc" id="anamespacenc_html_a736de91eb8f79bfaf4dc92d7161f1c87"><div class="ttname"><a href="namespacenc.html#a736de91eb8f79bfaf4dc92d7161f1c87">nc::cos</a></div><div class="ttdeci">auto cos(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> cos.hpp:49</div></div>
<div class="ttc" id="anamespacenc_html_a7672779bec72183de09ddc469739b385"><div class="ttname"><a href="namespacenc.html#a7672779bec72183de09ddc469739b385">nc::sinh</a></div><div class="ttdeci">auto sinh(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> sinh.hpp:49</div></div>
<div class="ttc" id="anamespacenc_html_a7a526300e6258fc6a008cfabc53d679c"><div class="ttname"><a href="namespacenc.html#a7a526300e6258fc6a008cfabc53d679c">nc::where</a></div><div class="ttdeci">NdArray&lt; dtype &gt; where(const NdArray&lt; bool &gt; &amp;inMask, const NdArray&lt; dtype &gt; &amp;inA, const NdArray&lt; dtype &gt; &amp;inB)</div><div class="ttdef"><b>Definition:</b> where.hpp:52</div></div>
<div class="ttc" id="anamespacenc_html_a7fe697a62b8317499283141a0ccaa262"><div class="ttname"><a href="namespacenc.html#a7fe697a62b8317499283141a0ccaa262">nc::nans</a></div><div class="ttdeci">NdArray&lt; double &gt; nans(uint32 inSquareSize)</div><div class="ttdef"><b>Definition:</b> nans.hpp:45</div></div>
<div class="ttc" id="anamespacenc_html_a80b0beb8f175ed462a4073825c864a43"><div class="ttname"><a href="namespacenc.html#a80b0beb8f175ed462a4073825c864a43">nc::flipud</a></div><div class="ttdeci">NdArray&lt; dtype &gt; flipud(const NdArray&lt; dtype &gt; &amp;inArray)</div><div class="ttdef"><b>Definition:</b> flipud.hpp:46</div></div>
<div class="ttc" id="anamespacenc_html_a81969bd9383c15d95e6b2150dac1eda5"><div class="ttname"><a href="namespacenc.html#a81969bd9383c15d95e6b2150dac1eda5">nc::isclose</a></div><div class="ttdeci">NdArray&lt; bool &gt; isclose(const NdArray&lt; dtype &gt; &amp;inArray1, const NdArray&lt; dtype &gt; &amp;inArray2, double inRtol=1e-05, double inAtol=1e-08)</div><div class="ttdef"><b>Definition:</b> isclose.hpp:58</div></div>
<div class="ttc" id="anamespacenc_html_a8b346bcf0083d2b809c83bb0433800de"><div class="ttname"><a href="namespacenc.html#a8b346bcf0083d2b809c83bb0433800de">nc::unique</a></div><div class="ttdeci">NdArray&lt; dtype &gt; unique(const NdArray&lt; dtype &gt; &amp;inArray)</div><div class="ttdef"><b>Definition:</b> unique.hpp:53</div></div>
<div class="ttc" id="anamespacenc_html_a941a5a1ffb61387495a6f23dc4036287"><div class="ttname"><a href="namespacenc.html#a941a5a1ffb61387495a6f23dc4036287">nc::sqrt</a></div><div class="ttdeci">auto sqrt(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> sqrt.hpp:48</div></div>
<div class="ttc" id="anamespacenc_html_a943a802bfe6ecf2984c0ce56577f252f"><div class="ttname"><a href="namespacenc.html#a943a802bfe6ecf2984c0ce56577f252f">nc::diff</a></div><div class="ttdeci">NdArray&lt; dtype &gt; diff(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> diff.hpp:52</div></div>
<div class="ttc" id="anamespacenc_html_a9bd808dce04134c3a70d0cb202f94464"><div class="ttname"><a href="namespacenc.html#a9bd808dce04134c3a70d0cb202f94464">nc::argmax</a></div><div class="ttdeci">NdArray&lt; uint32 &gt; argmax(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> argmax.hpp:46</div></div>
<div class="ttc" id="anamespacenc_html_aa5a0927210f0193fd7bbe40dc889b562"><div class="ttname"><a href="namespacenc.html#aa5a0927210f0193fd7bbe40dc889b562">nc::hstack</a></div><div class="ttdeci">NdArray&lt; dtype &gt; hstack(std::initializer_list&lt; NdArray&lt; dtype &gt; &gt; inArrayList)</div><div class="ttdef"><b>Definition:</b> hstack.hpp:50</div></div>
<div class="ttc" id="anamespacenc_html_aab02ff9e6ad434e1cc531c367fab11ac"><div class="ttname"><a href="namespacenc.html#aab02ff9e6ad434e1cc531c367fab11ac">nc::all</a></div><div class="ttdeci">NdArray&lt; bool &gt; all(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> all.hpp:46</div></div>
<div class="ttc" id="anamespacenc_html_aac312a24799da39c6cb6960f07812111"><div class="ttname"><a href="namespacenc.html#aac312a24799da39c6cb6960f07812111">nc::count_nonzero</a></div><div class="ttdeci">NdArray&lt; uint32 &gt; count_nonzero(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> count_nonzero.hpp:49</div></div>
<div class="ttc" id="anamespacenc_html_aadf90a1e77b251c318146a945c75e908"><div class="ttname"><a href="namespacenc.html#aadf90a1e77b251c318146a945c75e908">nc::append</a></div><div class="ttdeci">NdArray&lt; dtype &gt; append(const NdArray&lt; dtype &gt; &amp;inArray, const NdArray&lt; dtype &gt; &amp;inAppendValues, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> append.hpp:53</div></div>
<div class="ttc" id="anamespacenc_html_abb07133a1f54b24a4a4986eefb5eda85"><div class="ttname"><a href="namespacenc.html#abb07133a1f54b24a4a4986eefb5eda85">nc::cosh</a></div><div class="ttdeci">auto cosh(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> cosh.hpp:49</div></div>
<div class="ttc" id="anamespacenc_html_abbb3b38779a9d5cc3f473eef1f914057"><div class="ttname"><a href="namespacenc.html#abbb3b38779a9d5cc3f473eef1f914057">nc::stack</a></div><div class="ttdeci">NdArray&lt; dtype &gt; stack(std::initializer_list&lt; NdArray&lt; dtype &gt; &gt; inArrayList, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> stack.hpp:88</div></div>
<div class="ttc" id="anamespacenc_html_ac02087737cabe80234ec24c3cb5c70ea"><div class="ttname"><a href="namespacenc.html#ac02087737cabe80234ec24c3cb5c70ea">nc::setdiff1d</a></div><div class="ttdeci">NdArray&lt; dtype &gt; setdiff1d(const NdArray&lt; dtype &gt; &amp;inArray1, const NdArray&lt; dtype &gt; &amp;inArray2)</div><div class="ttdef"><b>Definition:</b> setdiff1d.hpp:54</div></div>
<div class="ttc" id="anamespacenc_html_ac28569da874c0b37a4c50c86b31a98ab"><div class="ttname"><a href="namespacenc.html#ac28569da874c0b37a4c50c86b31a98ab">nc::isnan</a></div><div class="ttdeci">bool isnan(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> isnan.hpp:49</div></div>
<div class="ttc" id="anamespacenc_html_ac2a107bb7ecfcf649c408069166ed1ea"><div class="ttname"><a href="namespacenc.html#ac2a107bb7ecfcf649c408069166ed1ea">nc::allclose</a></div><div class="ttdeci">bool allclose(const NdArray&lt; dtype &gt; &amp;inArray1, const NdArray&lt; dtype &gt; &amp;inArray2, double inTolerance=1e-5)</div><div class="ttdef"><b>Definition:</b> allclose.hpp:54</div></div>
<div class="ttc" id="anamespacenc_html_ac995fec009d93ce03c4d01eaebac6777"><div class="ttname"><a href="namespacenc.html#ac995fec009d93ce03c4d01eaebac6777">nc::flip</a></div><div class="ttdeci">NdArray&lt; dtype &gt; flip(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> flip.hpp:47</div></div>
<div class="ttc" id="anamespacenc_html_acbeede146d32768e2c0a136eabd8bff8"><div class="ttname"><a href="namespacenc.html#acbeede146d32768e2c0a136eabd8bff8">nc::argmin</a></div><div class="ttdeci">NdArray&lt; uint32 &gt; argmin(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> argmin.hpp:46</div></div>
<div class="ttc" id="anamespacenc_html_ad7e555d480465930a7ac44f4ab39eea7"><div class="ttname"><a href="namespacenc.html#ad7e555d480465930a7ac44f4ab39eea7">nc::exp</a></div><div class="ttdeci">auto exp(dtype inValue) noexcept</div><div class="ttdef"><b>Definition:</b> exp.hpp:49</div></div>
<div class="ttc" id="anamespacenc_html_ae7e8fa957d0738dd2809980ac9fcb319"><div class="ttname"><a href="namespacenc.html#ae7e8fa957d0738dd2809980ac9fcb319">nc::fliplr</a></div><div class="ttdeci">NdArray&lt; dtype &gt; fliplr(const NdArray&lt; dtype &gt; &amp;inArray)</div><div class="ttdef"><b>Definition:</b> fliplr.hpp:46</div></div>
<div class="ttc" id="anamespacenc_html_af37a6766f3bd9a7f83d32834d2a699b1"><div class="ttname"><a href="namespacenc.html#af37a6766f3bd9a7f83d32834d2a699b1">nc::max</a></div><div class="ttdeci">NdArray&lt; dtype &gt; max(const NdArray&lt; dtype &gt; &amp;inArray, Axis inAxis=Axis::NONE)</div><div class="ttdef"><b>Definition:</b> max.hpp:44</div></div>
<div class="ttc" id="anamespacenc_html_af6e71bd96dbc78f9ca018d2da0a7e653"><div class="ttname"><a href="namespacenc.html#af6e71bd96dbc78f9ca018d2da0a7e653">nc::dump</a></div><div class="ttdeci">void dump(const NdArray&lt; dtype &gt; &amp;inArray, const std::string &amp;inFilename)</div><div class="ttdef"><b>Definition:</b> dump.hpp:45</div></div>
<div class="ttc" id="anamespacenc_html_afa75736fe6a9935a89cec98790084779"><div class="ttname"><a href="namespacenc.html#afa75736fe6a9935a89cec98790084779">nc::vstack</a></div><div class="ttdeci">NdArray&lt; dtype &gt; vstack(std::initializer_list&lt; NdArray&lt; dtype &gt; &gt; inArrayList)</div><div class="ttdef"><b>Definition:</b> vstack.hpp:49</div></div>
</div><!-- fragment --> </div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
  </ul>
</div>
</body>
</html>
